<template>
	<view class="card-page">
		<view class="notice-detail">
			<view class="notice-detail-title">
				{{dataSource.question}}
			</view>
			<view class="mar-15-0">
				<view class="flex-start center color-gray">
					<u-icon name="clock" size="28"></u-icon>
					发布时间：{{dataSource.createTime}}
				</view>
			</view>
			<view class="content">
				<u-parse :html="dataSource.answer"></u-parse>
			</view>


		</view>
	</view>
</template>

<script>
	import {
		questionTypeQuery,
		questionsQuery
	} from '@/api/otherService.js'
	export default {
		data() {
			return {
				dataSource: []
			}
		},
		onLoad(opt) {
			this.dataSource = JSON.parse(opt.item)
		},
		methods: {}
	}
</script>

<style lang="scss" scoped>
	.tform-item {
		align-items: flex-start;

		.value {
			font-weight: 600;
		}
	}

	.notice-detail {
		height: calc(100vh - 60px);
		background-color: $uni-bg-color;
		padding: 15px;

		.notice-detail-title {
			font-size: 44rpx;
			justify-content: center;
			align-items: center;
			margin: 10px 0;
			font-weight: bold;
		}

		.content {
			padding: 0 10px;
			height: calc(100vh - 200px);
			overflow: auto;
		}

	}
</style>